added json->pojo rest service