python save json to new file