Objects need to be run through JSON.stringify before they will store properly in localStorage.