fix: properly stringify query params where name starts with $

Fixes #13