don't use array_merge_recursive to merge attributes into media elements.