Hi Jason,
The high-level format of the timeline records is documented as part of the DevTools remote protocol (
https://developers.google.com/chrome-developer-tools/docs/protocol/1.0/timeline). The details of the data record, though, are not currently documented, so the best source of information for you would be the source code (in particular, look for TimelinePresentationModel.js in the front-end and TimelineRecordFactory.cpp in the back-end). The fact that speed tracer format matches that of Timeline is not a coincidence, as SpeedTracer used DevTools as the back-end.
Please keep in mind that the format evolves and we do not make any promises on whether it will remain compatible (although we do our best to keep the front-end backward-compatible so that users can load records from older versions of DevTools into the modern ones).
I wonder if producing data using InspectorTimelineAgent is an options within your custom version of webkit? If so, this would take care of data representation.
Best regards,
Andrey.