import json


def dumpJSON(x):
    """
    Generic function to return 'x' in formatted JSON.
    
    Parameters:
    
        x   any     thing to see
    
    Returns:

        String containing 'x' as formatted JSON
    """
    return json.dumps(x, indent=4)