kwargs support for dynamic API libraries
use base64 for strings with illegal chars

also converts base64 to String for incoming elements
Merge pull request #17 from ombre42/issue16

Issue16