Implement generating jsonExport and updateFromJSON functions.