Pass #as_json to resource_property values so pointers are converted correctly.