core: Cleaned up 'peers' command