.to_bson only operates on strings