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: Iedeb4d4aeadb2110adb53c097838038bf1e199b0