logging interceptor logs request as json