In fixcontracts group the contracts to lookup by APIKey then character
instead of just APIKey