Fix handling arguments in log method

According to documentation log method should handle following invocation:
client.log('short message', {param: "value"})
but instead of sending additional field, JSON was treated like full message field.