support exporting to flat expressions

Prepping for MPB expression output from JuMP. @IainNZ @joehuchette, would this be useful for printing, or did we want to keep the original structure of the expression?