You can create unified method getNSPropertyObjectFromCCObject() to simplify addCCObjectToNSDict and addCCObjectToNSArray