if a function returns a less.tree Node do not wrap it in another
add support for serializing import rules

requires having methods on the env object
only serialize known less.tree nodes