pickler: escape string that have special meaning when used as dictionary key