def json(cls, message):
        """ Print a nice JSON output

            Args:
                message: the message to print
        """

        if type(message) is OrderedDict:
            pprint(dict(message))
        else:
            pprint(message)
Print a nice JSON output

            Args:
                message: the message to print