fix #18, jsonify requests