record frequency invalid JSON