public String getBodiesString() {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < bodies.size(); i++) {
            if (i > 0) {
                sb.append('\n');
            }
            AMF0Body amfBody = bodies.get(i);
            sb.append(amfBody);
        }
        return sb.toString();
    }