Update the advanced doc to use the r.json method