SPARK-4228 SchemaRDD to JSON

Here's a simple fix for SchemaRDD to JSON.
I think it would be better to put this in the `object` in the `json` package to avoid more `SQLContext` bloat.  (Admittedly we have not been very good about this in the past, but I'd like to avoid it getting worse)