improving output of APIKeyResource retrieve