Allow JS to receive native JSON serialization of a data.frame.

Convert in JS because it's likely faster than R.