added way to easily print hashmap to bstring