Only format 2 is currently implemented. When serializing patch maps we should check the mapping and see if it's compatible with format 1. If it is a format 1 serialization can be emitted instead of format 2. Additionally, we may want to consider comparing the size of the format 1 and format 2 serializations and choosing to emit whichever is smaller.