first code that flatten/unflatten documents
supports Python2 and Python3 with dict, list, int, float, bool, none,
datetime, bytes, str
first code that create/read/delete doc in DB