Added ability to pass a different :format (e.g. COMPACT, COMPACT-DECODED...

...)