Add REST

Because if you're doing stuff with JSON and all, you should be doing it in a RESTful manner :)