'return the current value'

@staticmethod
def get_curr_value(invalue, val_type):

    if (invalue is None):
        return None
    curr_value = invalue
    if (val_type == 'yaml'):
        curr_value = yaml.load(invalue)
    elif (val_type == 'json'):
        curr_value = json.loads(invalue)
    return curr_value
