Change isEqualToString to isKindOfClass since NSDictionary & NSArray don't have selector
Fix formatting
Change to matching p.type's class
Merge pull request #14 from joslinm/equal-string-to-kind-of-class

Change isEqualToString to isKindOfClass