Degraded gson version to work with java 1.6