log if JSON format is incorrect