dictionary parsing