Fix for ruby2 psych