Added notice of supported Accept headers.
Fixed JSON handling so it sets the content-type header correctly.