novo método ToJson extraido
Merge branch 'master' of https://github.com/webbers/dongle.net