Wip 10192 objectstore tool lookup zafman

5 more commits I wrote today.
Could you use Formatter *new_formatter(const std::string &type); ? So that json, json-pretty, xml, xml-pretty have the same meaning as in other ceph tools ?