@staticmethod
def j2t_idea_path_valueset(message_s, jpath_s):
    """
        Calculate and return set of all values on all given jpaths in all given
        messages. Messages and jpaths can also be a single values.
        """
    result = {}
    if not isinstance(message_s, list):
        message_s = [message_s]
    if not isinstance(jpath_s, list):
        jpath_s = [jpath_s]
    for item in message_s:
        for jpath in jpath_s:
            values = item.get_jpath_values(jpath)
            for val in values:
                result[val] = 1
    return list(sorted(result.keys()))
