Adding support for faction jsons