Make json file

working transformation to json - need to remove outside brackets