added to_s on end of get_text method for REXML to fix encoding issue