simpler api for serializeObject.instance