Fix some json errors.