Enums are formatted as strings rather than int

Fixes #1