Easy to set object properties from strings?