import json


def default_config(dump=False):
    """
    Returns default config for the app

    Args:
        dump <bool>: flag to permit json.dumps before return

    Returns config dict or config json string relying on the `dump` flag
    """
    config = {
        'elizabeth_language': 'en',
    }
    if dump:
        config = json.dumps(config)
    return config