create string with JSON.stringify method