using vim to read xml and json attachments