Database supports both compressed and uncompressed json.
Refactored blenddata; implemented cloning.