add json response to save note rest call