Fix bug when json contain many objects
Fix should set nil value from null even if value is already set to an existing object
Convert array to set and ordered set if using core data object