Readd the changes plus a null check for converting addresses to strings

Revert "Revert "make the snmp api no longer depend on spring, hibernate, and a million other libs""

This reverts commit 9f76a811159bf3f8e91dfca2fca0dbc331312777.