backend: remove unnecessary function

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