unflod encode dict