added application/json header to routes