Query comments of process instance allow to specify the type.
Add special result map for postgres
Merge pull request 320