@gkatsev: I didn't feel like I could get the PEG-based parser to handle crazy manifests and bring the file size down to something reasonable without rewriting the whole grammar from scratch. Given that, I felt it was less effort to go this route. I suspect you'll disagree with me on this one but I wanted us to have a concrete alternative to discuss. Feel free to rip this implementation apart in the comments :)