move key to a json file