Update src type specs to 17.0 format

* array() -> array:array()
* dict() -> dict:dict()