wrap string responses / handle json-string responses