convert to newer hash syntax