CHange weblogging to use one json doc

weblogging will now use one URL and one json doc to signal 3 diff types of
log action
Add functional test