NXP-13241: serialize to JSON content view state