Support MultiJson 1.2 for Rails 3.0 and 3.1

Should fix #247