remove misused customvars, jsonify the params into json blobs (derived from properties)