OVT-8298: The preferred names for codes and codesgroups are fetched now in JS instead of html. The first metadata is not necessarily the preferred one.