Break up hash correctly