pickler: escape string that have special meaning when used as dictionary key
refactor check order in _flatten_key_value_pair
Merge pull request #91 from lieryan/master

pickler: escape string that have special meaning when used as dictionary key

Signed-off-by: David Aguilar <davvid@gmail.com>