beautification
Wrote a new converter (closes #77)

Old/renamed conversion function is now used to check the existance of a
value in the enum. New conversion function just returns the enum.