[create_graph_json.py,benchtester] Fix syntax errors from previous push

Testing is your friend
[html] Fix up script to not break on seeing units (not displayed yet)

non-byte units are still mis-shown as bytes, but the script wont explode