To me it looks like the order here was (and remains til this day) reversed from serialization: compare https://github.com/JuliaLang/julia/blob/c3235cdacbaabc77d1d5bdb926d2df27f3848af4/src/dump.c#L726-L736 with https://github.com/JuliaLang/julia/blob/c3235cdacbaabc77d1d5bdb926d2df27f3848af4/src/dump.c#L1611-L1627.    If this is indeed a bug, I can submit a fix.