JSON Serialization Changes

Made changes for JSON serialization issue, deleting "writeWrap" from
Composite Collection and Scalar Collection serialization methods.