Is such a thing really possible? To convert CSV (flat data) to JSON (hierarchical data) you need to know the hierarchy. When you convert from JSON -> CSV you lose that information, and to get it back converting CSV -> JSON you need some sort of out-of-band schema information. Otherwise you will just end up with "flat" JSON, which is not better than CSV.