I am trying to get the output of serverStatus command via pymongo and then insert it into a mongodb collection. Here is the dictionary
{u\'metrics\': {u\'getLa
In the 14th line:
u'.': {u'timeAcquiringMicros': {u'R': 218733L, u'W': 30803L}, u'timeLockedMicros': {u'R': 311478L, u'W': 145679L}}}
For future safety, iterate through the keys, replace '.'s with '_' or something, and then perform a write.