Add datatype parsing and exceptions to backend package.

Remove DictBackend.