add support for exporting lists as json