allow data to be an array of strings/objects and merge them

This allows `data` to be an array of strings/objects.
They are then merged together using https://github.com/yeikos/js.merge

This is useful to share some but not all data in different templates.