Fix path key for arrays