// Using projection with this code, solved the issue.
Document projectFields = new Document();
projectFields.append("_id", 1);
projectFields.append("result.detections.reference.control", 1);
AggregationOperation projectOperation = context -> new Document("$project", projectFields);