Used a Twig filter to format SQL.