Add XML declaration to cached IMS subscription documents