Created by: gbrown-ce
Motivation
Previously, when serializing as subclass of a property, generated swagger clients would only serialize properties of the parent class causing some values to not be pass through
Modifications
Before serializing attributes of a given type, we check to see if there is a specific type to be serialized so that we don't miss any properties.