def unwrap_appendix_box(json_content):
if json_content.get("<STR_LIT:content>") and len(json_content["<STR_LIT:content>"]) > <NUM_LIT:0>:<EOL><INDENT>first_block = json_content["<STR_LIT:content>"][<NUM_LIT:0>]<EOL>if (first_block.get("<STR_LIT:type>")<EOL>and first_block.get("<STR_LIT:type>") == "<STR_LIT>"<EOL>and first_block.get("<STR_LIT:content>")):<EOL><INDENT>if first_block.get("<STR_LIT>") and not json_content.get("<STR_LIT>"):<EOL><INDENT>json_content["<STR_LIT>"] = first_block.get("<STR_LIT>")<EOL><DEDENT>json_content["<STR_LIT:content>"] = first_block["<STR_LIT:content>"]<EOL><DEDENT><DEDENT>return json_content<EOL>
for use in removing unwanted boxed-content from appendices json