Adding resty json service for addNote