generate oid dictionary