Creating an array value should map to astToValue, NOT valueToAst. Update the function creator so it doesn't leak into the globals.