Tweak to newer ruby hash syntax