Uses JSON.stringify to convert json to string.