Input: Portals device object.
        Output: The same device object with the device meta
                converted to a python string.

def stringify_device_meta(device_object):
    """ Input: Portals device object.
        Output: The same device object with the device meta
                converted to a python string. """
    try:
        if isinstance(device_object['info']['description']['meta'], dict):
            device_object['info']['description']['meta'] =\
                json.dumps(device_object['info']['description']['meta'])
    except ValueError as err:
        print("stringify: {0}".format(err))
    return device_object