Throw exception on mixed data type arrays

Modified the parser so as to throw an exception on encountering mixed
data types within an array. Also corrected the extended.toml to prevent
from throwing this exception because of malformed key "key"