Save JSON as file