docs: def get_value_as_list(self, dictionary, key):
          """Helper function to check and convert a value to list.
  
          Helper function to check and convert a value to json list.
          This helps the ribcl data to be generalized across the servers.
  
          :param dictionary: a dictionary to check in if key is present.
          :param key: key to be checked if thats present in the given dictionary.
  
          :returns the data converted to a list.
          """
          if key not in dictionary:
              return None
          value = dictionary[key]
          if not isinstance(value, list):
              return [value]
          else:
              return value