added JSON export for dataset results.