Return minimal domain view from get domains endpoint

Check when the calls to retrieve list of all domains are triggered and return only mandatory data like id, name, codename, active and delete. Other fields might not be required.

image