Converted over json and text routes