json_decode() will raise a warning on invalid input (PHP 5.6)
This doesn't belong here