Add the form example that requests json data.
Add the example of specifying the format option as json.
Add the example that requests xml format instead of json format.
Add an example that shows how to add a class attribute to the form.