allow dictionaries with comments and extra stuff; allow codes in hex, and 0, and >256