Fix mime encoding for observations