ActiveSupport JSON decoding