stringify xhr contents