route function can return stringified flags