merge function

Merge hyperSpec objects