surround headwaiter json results with endpoints