change route
serialize responses in a generic response