allow exporting to localStorage object