lang, utility to export the dataset to json

The json format can then be used for the web based
version of the activity.
lang, minor improvement of the background