Add encoding for request body