updated json_to_text to recognize numbers written as letters