added JSON_NUMERIC_CHECK to json_encode