Add support for enums and typed JSON conversions
Update .gitignore for IntelliJ