cleaned up some routes returning json