convert to x.json