correct problem encoding to create json file and correct performance problems with bindings python