Bugfix: enforce tuple of arity 2, otherwise it is impossible to handle the situation when a list of objects to be encoded.
Merge pull request #23 from vjache/master

Bugfix: enforce tuple of arity 2, otherwise it is impossible to handle t...