Move hardcoding of metadata entity out of IRIS