SERVER-8184: remove conversion to string, massert() on toSTLString() failure.