create utilities file, write mergeObjects method