Small fix to deal with metrics containing dots (i.e., ".") on their names. When
these metric names are converted to MongoDB keys, pymongo returns an error due
to illegal characters in the name.