Use the actual license list in creating the json output.
Use "var i" in for-loops.