def regex_result_escape_duplicate_quotes(result):
    """
        Regex search handler: Escape sections where we find duplicate empty
        quotes surrounding objects.

        Args:
            result (MatchObject): Match result from a previous regex match.
    """
    return "{}\"{}\"".format(result.group(1), result.group(3))