unparse: string-based API
test: add optimization transform stack