Fix a bug in CGIJSONKit which disabled array for objects to JSON