Adding source MAC to logging and JSON metadata output