def rewrite_elife_authors_json(json_content, doi):
<EOL>article_doi = elifetools.utils.convert_testing_doi(doi)<EOL>if article_doi == "<STR_LIT>":<EOL><INDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if ref.get("<STR_LIT>") and ref.get("<STR_LIT>") == "<STR_LIT>":<EOL><INDENT>json_content[i]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT:name>"] = ["<STR_LIT>"]<EOL><DEDENT><DEDENT><DEDENT>if article_doi == "<STR_LIT>":<EOL><INDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if ref.get("<STR_LIT>") and ref.get("<STR_LIT>") == "<STR_LIT>":<EOL><INDENT>json_content[i]["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT><DEDENT><DEDENT>if article_doi == "<STR_LIT>":<EOL><INDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if not ref.get("<STR_LIT>"):<EOL><INDENT>if ref["<STR_LIT:name>"]["<STR_LIT:index>"].startswith("<STR_LIT>"):<EOL><INDENT>json_content[i]["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT>elif ref["<STR_LIT:name>"]["<STR_LIT:index>"].startswith("<STR_LIT>"):<EOL><INDENT>json_content[i]["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT><DEDENT><DEDENT><DEDENT>if article_doi == "<STR_LIT>":<EOL><INDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if not ref.get("<STR_LIT>"):<EOL><INDENT>if ref["<STR_LIT:name>"]["<STR_LIT:index>"].startswith("<STR_LIT>"):<EOL><INDENT>json_content[i]["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT><DEDENT><DEDENT><DEDENT>elife_author_competing_interests = {}<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>elife_author_competing_interests["<STR_LIT>"] = "<STR_LIT>"<EOL>if article_doi in elife_author_competing_interests:<EOL><INDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if not ref.get("<STR_LIT>"):<EOL><INDENT>json_content[i]["<STR_LIT>"] = elife_author_competing_interests[article_doi]<EOL><DEDENT><DEDENT><DEDENT>for i, ref in enumerate(json_content):<EOL><INDENT>if (ref.get("<STR_LIT>") and (<EOL>ref.get("<STR_LIT>").startswith("<STR_LIT>") or<EOL>ref.get("<STR_LIT>").startswith("<STR_LIT>") or<EOL>ref.get("<STR_LIT>").startswith("<STR_LIT>") or<EOL>ref.get("<STR_LIT>").startswith("<STR_LIT>")<EOL>)):<EOL><INDENT>json_content[i]["<STR_LIT>"] = "<STR_LIT>"<EOL><DEDENT><DEDENT>return json_content<EOL>
this does the work of rewriting elife authors json