import json


def pprint_json(to_print):
    """Pretty print json.

    Args:
        to_print (json): The json to be printed.

    Returns:
        str: Pretty printed json string.
    """
    return json.dumps(to_print, sort_keys=True, indent=4)