Add check so request interceptor only transforms JSON requests