Added orddict merge function.