Improve n2o rest example