Layout controller to hook into _sanitizeResponse