import json


def json_encode(data, *args, **kwargs):
    """Encodes a dictionary into a JSON string
    
    Arguments:
        data {dict} -- Dictionary to encoded
    
    Returns:
        str -- JSON encoded string
    """
    return json.dumps(data, *args, separators=(',', ':'), **kwargs)