account for bad json object