Fixed json.php, backend returns correctly now.