NSDictionary doesn't support nil values, they must be objects, so use NSNull instead, which is the kosher way to do it.