If #to_json isn't needed on 52, it won't be needed here either.