Added JSON handlers for fields of type unique_ptr<>.
Such a field will have a new sub-object dynamically allocated for it during translation. If the JSON data is missing, the ptr will be set null.