pubcrawl: simplify asencode_activity() adressing to reflect upcoming changes in mastodon 2.6 and some code cleanup