trim tail '/' in Init function
update README.md
show error message when decoding JSON