Small performance refactor of get_en_text_titles & test for maps