NXP-10347: safer json export of content view states to ensure good restore when using the CSV export for instance