Converter for JSON data to a Go struct or a Java class for GSON