Auto discover properties of model that are class types to include them in the model section of JSON