Tidied up the Response and Error Objects for Types Endpoint