Add cluster argument to createJSON