Fixed overflow issue in python extension
Avoiding overflow error for jsons too deep
Fixed python packaging
Fixed memory leak on python lib