added support for enums (or other string convertable types) as keys to m...

...aps for json serialization