adding support for get by id string and bson