Added support for caching property list to avoid constructing it every serialization operation

This pull request also contains support for serializing _type to construct polymorphic types