Build the dictionary inline, rather than setting each key individually.