enabled datetime conversion for json response in http.py using pymongo package