addressed some issues when sending json objects when strings were expected
Merge pull request #186 from K-GmbH/jsonparse

addressed some issues when sending json objects where strings expected