Feature/issue 163 jackson

Switch to Jackson for all JSON stuff. This simplifies many things, and also solves #160 and #163.