fix bad faction-id for units in json