from a datasource retrieves a value map of an enum