Only use json_last_error_msg on PHP >= 5.5