Initial draft a generating json
Format value fields to json
Format value list fields to json