rest : use @timeit for all urls. Fix #1909