Converts bo to Type by using the field names of Type and keys of bo.
Used to handle arrays because Mondo uses BsonArrays.
See Source File