Map<String, Object> resultSet = (Map<String, Object>) graphApi.fetchObject("fql", Map.class, parameters);
@SuppressWarnings("unchecked")
List<Map<String, Object>> resultSetData = (List<Map<String, Object>>) resultSet.get("data");
List<T> response = new ArrayList<T>();
for (Map<String, Object> dataItem : resultSetData) {
response.add(mapper.mapObject(new FqlResult(dataItem)));
}
return response;
}