Use str_format_meta for snapshots

Fixes: #9938