fix up faked userdata to be encoded correctly