JSON RESTful Web Service Implementation using Rails