Map enum to string

Fixes #19