Compact JsonVariant and BsonVariant factory methods