Converts array to a json string

def _convert_list_to_json(array):
    """ Converts array to a json string """
    return json.dumps(array, skipkeys=False, allow_nan=False, indent=None, separators=(",", ":"))