Added rest service with json