Fix undefined method issue

Most of the tests failed, because the with_indifferent_access function was not defined.