Add ResultFormatter.format method