Correct parsing of typed literals in blank nodes.

Closes #8.