Building a conversion dictionary