Fixes issue #274 by using recursive hash merge.