Nitpicking, but `MultiJson.encode` (and `.decode`) are deprecated. One should use `.dump` and `.load` instead.