util/format: add some ZS helpers for vallium