improve multi-byte character handling
fix a bug on python 3.3
drop python 3.2 support due to unicode issue
fix bug where a subclass of list/dict is not jsonified