Encode raw_data params