help script to merge hash objects