Use JSON stringify to pass in code to sandbox