Rewrite with JSON support, hence new version. More cool README.md.

Close #1.