Local JSON db on filesystem with hooks