Fix JSON-Schema toMany type and relation key names.