def dictify_device_meta(device_object):
try:<EOL><INDENT>if  isinstance(device_object['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>'], str) orisinstance(device_object['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>'], unicode):<EOL><INDENT>device_object['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>'] =json.loads(device_object['<STR_LIT:info>']['<STR_LIT:description>']['<STR_LIT>'])<EOL><DEDENT><DEDENT>except ValueError as err:<EOL><INDENT>print("<STR_LIT>".format(err))<EOL><DEDENT>return device_object<EOL>
Input: Portals device object.
        Output: The same device object with the device meta
                converted to a python dictionary.