Introduce new interface to facilitate conversion between objects and maps for serialization/deserialization purposes