A better way to get a string array from an otto.Value

Here is yet an even better way to get a string array from an otto.Value

It does not depend on what the otto.Value is, just what it does .Export(), which is a much better, "futureproof" way to do it (no inspection against the .Class() value is needed).

This way is also nice because there is no redundant "if this type do this" sort of thing.