Added check for empty objects in ting search requests
Fix generation of identifier generation for getObject when using localIds
…lIds. Fixes #1819
This follows the style of the rest of the client library.
Check if $objectData->formatsAvailable is set before iterating.
Check if $objectData->record is set before iterating.
If they elect to change it, we return the raw output. This is useful if you want a different format than DKABM.
Other loggers escape the output at a later stage, leading to double encoding.
Return all relations. Callers are responsible for performing any filtering on their own.
Move the check into the ting module, and let that module decide what to show or not