Added bson parser for Variant and test cases