Move jsonify function into mpyc.utils module.