Fixed unquote_str by encode str before unquote.
Fixed setup.
Added tag for tree.