Fixes pillar namespace merging not preserving order when replacing keys