Storing complex objects in local storage done.