adds support for basic deserialization for a limited number of use cases where the object is provided as a literal, not a constructor