python save json to file append