Fix broken type guessing on queried result deserialization in task-api. Re-introduce some type mayhem.
* Jackson can't guess templated type definitions, so the collection needs to be converted manually
* This doesn't look very good in terms of performance, ideas welcome

relates to #116