Fix for issue #26. Removed implicit conversion of `string` to `object` when trying to store the defaultVal of the element. Moved this to a new object with the same key of `elemID` to store the value instead.