How to handle ObjecId and Field Filter in query mongo?

Im preety new in metabase, but I want to use filed filter binded with _id of my mongo collection for queries like:

[
{
"$match": {{ids}}
}
]

when I try to do this I get no records because the _id type is ObjectId and the parse of field filter is something like "_id": $in ["id1", "id2", ...]
How can I use something like "_id": $in [ObjectId("id1"), ObjectId("id2",) ...] to get my documents?

Thank you for any assistance.