CollectionJsonWriter Specs for Error Behavior