This does not change the output, but makes it more robust against
different kinds of outputs/initial states.
Thanks again to @Ethiraric for all the effort that went into this!
The docenizer will now download and extract the archive if no input
folder is specified. The extraction directory is currently hardcoded
into a variable (`ASMDOC_DIR`).
This is more a hack than anything else on the json generation.
The output from the docenizer on my machine is very different from the
already existed generated code.
The following changes were made:
* Add 4 more spaces before the `case` and `return` statements.
* Indent by default the json by 16 spaces. Since there is only one
depth level, this effectively prefixes by 16 spaces all fields.
* Replace json separators to remove trailing spaces.
* Replace the last '}' of the json by a 12-spaces-indented line.
The variable `name` was used incorrectly at several points in the
`parse` method. This results in the filename being overwritten by
instruction names and the function assigning wrong URLs.
I have removed the shadowing and explicited the different name
variables.