Parameter converion is all done by function

* Dedicated function for unicode conversion
Appropriate check for dictionary keys
Merge pull request #68 from FenrirUnbound/bugfix/data-conversion

Bugfix/data conversion