BsonDecode by Martin Kou along with the binary