data moved to json file