call SerializationUtil.setupContextProperties() when creating a spark context