only call with_indifferent_access if a Hash is received