Factor out `getAll` and `putAll` combinators

This moves `putAll` and `getAll` binary parsing combinators into the
`Util` module, where they belong.