DSML: add a few documentation texts.
DSML: generate json file for API for debugging.