Checks for JSON