Add opts.preferAST

Useful in cases where the input file is already parsed.
handle empty transform arrays
0.1.0