MDL-22015 moving legacy stuff into the get_string() and making the function get_strin...