fixing gson serialization to work with guice