JSON response for AJAX requests (Contao extension)