making data file valid json