Don't write key attribute for arrays