XD-1378f: script module and remove json related ones

- Got rid of json related modules, as per hc discussion
- Documented the script option