Reorganize Repository::Memory specs
Implement Repository::JsonSerializer