docstrings formating and key unicoding