Moved the JSON2TEXT loging into TEXT