Adding JSON "API" and updated README.md