this should return a data structure and not an encoded json ... and use the ``|json`` twig helper....