improve ast converter (toString) -- handles null, undefined & scallar
add arrays support