Jsonify

JSONify all the things. Fix issue #5.