MDL-52263 libraries: Add options to external_format_text