use JSON for storage, fixed bug in removal of list
namespace