Extend sdk to allow property to be initialised from a json object.