you can use `querystring` module from nodejs core to do this. And we assure it's correct