Added JSON_ERROR_UTF8 as JSON_ERROR_NONE to supress NOTICEs in case of
PHP<=5.3.3