}
// curl -i -X PUT -H "Content-Type: application/json" -d '{"id":"<id>", "key": "k", "value": "v"}' http://localhost:8080/model
@PUT
public Response update(Model model) {
Model updated = repository.save(model);
return Response.created(URI.create("" + updated.id)).build();
}