From http://stackoverflow.com/questions/4364392/deserializing-generics-with-gson