I get a bit confused about how this works too, but I was able to get the \" version to work in a case section if I used entity_decode() in the switch part.
Someone who knows better will have to clarify or verify, but I think fights which come from non-combats don't work right with those skills, because they aren't in a location and mafia's get_location() function should reflect that.
The other day mafia was turning them in one at a time (using the GUI). Multiples can be turned in at once from the relay browser. Not help with your automation, but a heads up.
The URL for starting the artist quest is "place.php?whichplace=town_wrong&action=townwrong_artist_noquest&getquest=1".
If I'm having trouble finding the right URL, I find doing "debug on", doing whatever in the relay browser and "debug off" often records the correct URL.