Record template = inputRecord.copy();
removeAttachments(template);
MappingIterator iter = reader.readValues(in);
try {
while (iter.hasNextValue()) {
Object rootNode = iter.nextValue();
incrementNumRecords();
LOG.trace("jsonObject: {}", rootNode);
Record outputRecord = template.copy();
outputRecord.put(Fields.ATTACHMENT_BODY, rootNode);