'Partition access values will require some transformation.
This operates on both user and device returned values.
Check if the element is a string from user input in the format of
name:role, if it is split  it and create dictionary out of it.
If the access value is a dictionary (returned from device,
or already processed) and contains nameReference
key, delete it and append the remaining dictionary element into
a list.
If the nameReference key is removed just append the dictionary
into the list.
:returns list of dictionaries'

@property
def partition_access(self):

    if (self._values['partition_access'] is None):
        return
    result = []
    part_access = self._values['partition_access']
    for access in part_access:
        if isinstance(access, dict):
            if ('nameReference' in access):
                del access['nameReference']
                result.append(access)
            else:
                result.append(access)
        if isinstance(access, str):
            acl = access.split(':')
            if (acl[0].lower() == 'all'):
                acl[0] = 'all-partitions'
            value = dict(name=acl[0], role=acl[1])
            result.append(value)
    return result
