- api call returns json-string instead of bytes
- removed debug output