Fix script generation in a for loop

When a Clojure `for` macro expands, it adds quite a few local variables. Some of these are not serializable. This checks for anything that doesn't appear to be EDN friendly and excludes it.