changed routes to json

all routes are now automatically json