rearranges mustache so generated code is a bit easier to look at