Gson extension function to deserialize JsonElement to T
fun <T : Any> Gson.deserialize(jsonElement: JsonElement, type: Type): T