Minor formatting changes to readme

JSONified some of the examples, added inline code formatting, and
added more <'s and >'s to the API sketch.