CheckStorable returns an error if the given document - or any of it's subdocuments - contains field names which are not valid for storage into MongoDB.
EscapeKey escapes a string to be safe to store in Mongo as a document key.
EscapeKeys is used to escape bad keys in a map. A statusDoc without escaped keys is broken.
IsValidFieldName returns true if the given name is acceptable for use as a MongoDB field name.
UnescapeKey restores escaped characters from a key to their original values.
UnescapeKeys is used to restore escaped keys from a map to their original values.