This link from the Gson project seems to indicate that I would have to do something like the following for serializing a typed Map to JSON:
public static
In Gson 2.7.2 it's as easy as
Gson gson = new Gson(); String serialized = gson.toJson(map);