add team code to returning json team array