Move JSON type bindings to protocol.hs
Overload strings in protocol.hs
Rename Properties into Settings and settings into properties