make api.html output readable by timeline.html