Fix FC issue when JSON is malformed