Fix: ActiveRecord::Store TypeError conversion when using YAML coder

As on PR #13575, after GitHub trolling us hehe (: cc @senny