Fix a bug in generateMappings that prevented mcp named methods to be remapped back to srg