* handling of exporting convertondemand arrays to json