Changed all routes to use to_s to ensure string output