Fix reading some kinds of simple values
Support 64-bit serialization somewhat