Split factions into separate data file.
Add tests for factions.json.