<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pretty_dict_str(d, indent=2):
 """shows JSON indented representation of d"""

    b = StringIO()
    write_pretty_dict_str(b, d, indent=indent)
    return b.getvalue()