Parsing arrays with simple element types