def modify(item, output='<STR_LIT>'):
if output == '<STR_LIT>':<EOL><INDENT>return _modify(item, camelize)<EOL><DEDENT>elif output == '<STR_LIT>':<EOL><INDENT>return _modify(item, underscore)<EOL><DEDENT>
Calls _modify and either passes the inflection.camelize method or the inflection.underscore method.

:param item: dictionary representing item to be modified
:param output: string 'camelized' or 'underscored'
:return: