Added simple API

Added a simple API in the form of allowing the _answer_ data to be retrieved as JSON, but setting `Accept: application/json` when making a request. This addresses #1.