fix a bug wherein ImmutableList's repr was referring to the dict type instead of the list type