boskos/common/mason_config.go
func ItemToResourcesConfig(i Item) (ResourcesConfig, error) {
	conf, ok := i.(ResourcesConfig)
	if !ok {
		return ResourcesConfig{}, fmt.Errorf("cannot construct Resource from received object %v", i)
	}
	return conf, nil
}
func ItemToResourcesConfig(i Item) (ResourcesConfig, error) {
	conf, ok := i.(ResourcesConfig)
	if !ok {
		return ResourcesConfig{}, fmt.Errorf("cannot construct Resource from received object %v", i)
	}
	return conf, nil
}
// ItemToResourcesConfig casts an Item object to a ResourcesConfig