Also re-ordered the collection of main string refs so that the ASM refs come last; this will mean we can add new ASM refs without modifying earlier labels
Also started converting from hex to decimal in JSON files (whose idea was it again for JSON to not allow hex literals?)