added script to dump json file