Changed the way generic types are specified for the jsonparser (removed dependency to Jackson's TypeReference)