Changes to JsonMixin

- Use jsonify instead of to_json
- Add mongify to extract safe py dict of the document
- Remove unsed DBRef handle conidtion
Using doc.jsonify in v3