CMS-1786 Convert contentType_get to use value objects
CMS-1989 Refactor all local listeners to be written the same way