.source(getResult.sourceAsMap());
// Ok, let's render it with a ViewEngineService
ViewResult result = viewService.render(viewContext);
return new ViewResponse(result.contentType(), result.content());
}
private ViewContext extract(Map<String, Object> sourceAsMap, String format) {
if (sourceAsMap != null) {
for (String key : sourceAsMap.keySet()) {