Adding json response

Hey, I added a quick response for json requests. This will make Dan "Why can't it be JSON?" Benjamin happy. I wasn't actually able to test it because I'm having issues getting the database up and running... but it's simple enough.