fromJSON bug fix for array object
editing podspec