Don't write certain empty values
arrayMergeRecursiveDistinct: Only merge associative arrays

This fixes the issue of certain text sections appearing twice, because they once consisted of two lines and were later condensed to a single line