Supports NSNumber and nested NSDictionaries.

Supports NSNumber and nested NSDictionaries.