Fixed RESTful webservice.rb controller. GET requests are working and returning JSON.