Added script to dump dep.map in JSON format.