bugfix: previous error in message corrected

the previous error in mesage handling was caused by json parsing the internal message. this is now fixed by flattening the results to string.

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>