Added :reference_properties that disables dynamic selection of the type of JSON to return for a reference.