Literal lists, provide encode_* functions for URIs, closes #6