Adding format to run-multiple.js

Allow for plain or json format in run-multiple.js.