Added an @Post resource method that accepts a json object