Moved convert_field_to_html to API