JsonFactory rewrite of toJSON for SchemaRDD