Add input interface's name to JSON log

Rebased #1020.
This pull request extends the JSON logging - adds ability to log interface name in JSON alert. For instance, Snort can log interface name and it can be useful sometimes.