Explain better the array/non-array key exception and make example consistent with others