JSON replies enabled for API.php (the API gateway)