Fix readDictionary (followup to 6d670ff4db3103416b3cffc4c96102dd67d80bff)