Type based Gson Parsing