encoding module with support for json and pymongo