now uses node module 'qs' for stringification
upped version