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"
Merge pull request #2 from ayushchd/master

Throws exceptions on mixed data type arrays