Returns the data of an object, if its an configdata object, it returns data.value, otherwise data :param data:
Returns:
Contents: