modified: toDictionary