Another way would be to load the data in MATLAB and write it to a JSON file as follows
clear
load('NanodcalObject.mat');
s = struct(object);
f = fieldnames(s);
nf = numel(f);
for ii = 1:nf
try
jsonencode(s.(f{ii}));
catch
s = rmfield(s, f{ii});
fprintf('remove field %s\n', f{ii});
end
end
txt = jsonencode(s);
fid = fopen('NanodcalObject.json','w');
fprintf(fid, '%s', txt);
fclose(fid);
and then read it with Python
import json
filename = "NanodcalObject.json"
with open(filename, "r") as f:
d = json.load(f)
print(d.keys())