only use hash_with_indifferent_access if method provided by activesupport