fix for https://issues.infn.it/jira/browse/STOR-465

used Enum instead of String