fix some split trategy; use JSON.stringify for output