def _convert_item(self, item):
item = self.parse_item(item)<EOL>if not item['<STR_LIT:name>']:<EOL><INDENT>raise Exception('<STR_LIT>' % (self.keys['<STR_LIT:name>'], item))<EOL><DEDENT>elif len(item['<STR_LIT:name>']) > <NUM_LIT>:<EOL><INDENT>item['<STR_LIT:name>'] = item['<STR_LIT:name>'][:<NUM_LIT>]<EOL><DEDENT>if not item['<STR_LIT:status>']:<EOL><INDENT>item['<STR_LIT:status>'] = self.default_status<EOL><DEDENT>try:<EOL><INDENT>item['<STR_LIT:status>'] = Status.objects.get(slug__iexact=item['<STR_LIT:status>'])<EOL><DEDENT>except Status.DoesNotExist:<EOL><INDENT>try:<EOL><INDENT>item['<STR_LIT:status>'] = Status.objects.create(name=item['<STR_LIT:status>'],<EOL>slug=slugify(item['<STR_LIT:status>']),<EOL>description=item['<STR_LIT:status>'],<EOL>is_default=False)<EOL><DEDENT>except Exception as e:<EOL><INDENT>logger.exception(e)<EOL>item['<STR_LIT:status>'] = None<EOL><DEDENT><DEDENT>item['<STR_LIT>'] = slugify(item['<STR_LIT:name>'])<EOL>if not item['<STR_LIT:address>']:<EOL><INDENT>item['<STR_LIT:address>'] = '<STR_LIT>'<EOL><DEDENT>if not item['<STR_LIT>']:<EOL><INDENT>item['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>User = get_user_model()<EOL>try:<EOL><INDENT>item['<STR_LIT:user>'] = User.objects.get(username=item['<STR_LIT:user>'])<EOL><DEDENT>except User.DoesNotExist:<EOL><INDENT>item['<STR_LIT:user>'] = None<EOL><DEDENT>if not item['<STR_LIT>']:<EOL><INDENT>item['<STR_LIT>'] = None<EOL><DEDENT>if not item['<STR_LIT:description>']:<EOL><INDENT>item['<STR_LIT:description>'] = '<STR_LIT>'<EOL><DEDENT>if not item['<STR_LIT>']:<EOL><INDENT>item['<STR_LIT>'] = '<STR_LIT>'<EOL><DEDENT>if item['<STR_LIT>']:<EOL><INDENT>try:<EOL><INDENT>item['<STR_LIT>'] = parser.parse(item['<STR_LIT>'])<EOL><DEDENT>except Exception as e:<EOL><INDENT>print("<STR_LIT>" % e)<EOL><DEDENT><DEDENT>if item['<STR_LIT>']:<EOL><INDENT>try:<EOL><INDENT>item['<STR_LIT>'] = parser.parse(item['<STR_LIT>'])<EOL><DEDENT>except Exception as e:<EOL><INDENT>print("<STR_LIT>" % e)<EOL><DEDENT><DEDENT>result = {<EOL>"<STR_LIT:name>": item['<STR_LIT:name>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT:status>": item['<STR_LIT:status>'],<EOL>"<STR_LIT:address>": item['<STR_LIT:address>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT:user>": item['<STR_LIT:user>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT:description>": item['<STR_LIT:description>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT>": item['<STR_LIT>'],<EOL>"<STR_LIT:data>": {}<EOL>}<EOL>for key, value in list(item['<STR_LIT:data>'].items()):<EOL><INDENT>result["<STR_LIT:data>"][key] = value<EOL><DEDENT>return result<EOL>
take a parsed item as input and returns a python dictionary
the keys will be saved into the Node model
either in their respective fields or in the hstore "data" field

:param item: object representing parsed item