Working on configurating routes to use json renderer