def format_default_result(result):
    try:
        output = json.loads(result) if isinstance(result, six.string_types) else result
        return _serialize(output)
    except (ValueError, __HOLE__):
        return result
dataset/ETHPy150Open StackStorm/st2contrib/packs/hubot/actions/post_result.py/format_default_result