Converting engine id to str to avoid format decode errors