We should port all changes not related to DataFrames (like the serialization mode change) to the master branch
fixed by https://github.com/amplab-extras/SparkR-pkg/pull/223