Added a json body parser. Closes #10.