Blacklisting for URLs plugin with pattern matching - for CompanionCube
Function to swap dict keys and values