hack for urlencoding in node->mw api calls