added primitive support for conversion from json to typed go structs
useful special case on init of a field from amodel