Added custom jsonify for mongo object