return pet on some API calls