From strings to enums

- So far changed for stash connector