support for gson serialization of unknown types