mongomerge functionally working but needs cleanup