Use MultiJson for JSON parsing

Closes #359.