Fix ruby symbol hash