Encode key when generating query string
Merge pull request #30 from marcelerz/encode-decode

Encode key when generating query string