new GSON api only is now used for custom adapters