using map directly
handmade parseJson/ToJson instance, lowering chain key name
refactoring into Types.hs
refactoring
refactored