IMHO dovresti lasciar perdere CONCAT() e simili e creare le stringhe JSON in PHP

In ogni caso, cosa restituisce var_dump($row)?