fix flatten map for proplist style map
fix decode array hash
add test for cache support
add custom handler support