JSON dumps for OC-PY