Write our own extends function that will not mash yaml keys