allow printing of hash methods alongside hash keys