internal static ToRoute MetadataListRoute(this string metadataName, string defaultValue = null) { return metadataName.MapTo<ProjectItemDefinitionElement>(pide => pide.LookupMetadataList(metadataName, defaultValue)); }