Refactor JsonConverter::convertTypeDefinition
Refactor JsonConverter::convertTypeDefinition

Summary:
Refactor `JsonConverter::convertTypeDefinition` to use the populate trait
and reduce complexity by splitting function in smaller pieces.

Reviewers: claus.due, #forgetit-dev

Reviewed By: claus.due, #forgetit-dev

Differential Revision: https://phabricator.dkd.de/D856

dkd/php-cmis-client