Hacking on the JSON parsing. Not an especially obvious interface or format at times.
Line endings.