added .toString(), otherwise [object Object] was stored.