stringify before passing to memjs