Use JSON instead of evalInSandbox