JsonFormat is a base class from which commands that expect to dump
json output can inherit. This class defaults to the cliff json_format
formatter, and will not produce any output if no data is provided.
Change-Id: I49abb2172afab802fa1b311bac9e1c66c0373803