The rest still need work. There appears to be a bug with multi-line values on non-existent keys.
perl merge.pl en ALL This looks to be pretty messy though, I see some spots where it interrupted top level keys and some places where it didn't respect line breaks in a key's value.