Untangle snapshot mapper

Also fixed performance issue with `StructEncoding` arbitrary
0.9.1