fix missing "type" on document meta data