abstract out nsa decoding in ws service module and a bit of random cleanup
abstract out nsa decoding in ws service module and a bit of random cleanup

jeroenh/OpenNSA,jab1982/opennsa,NORDUnet/opennsa,jab1982/opennsa,NORDUnet/opennsa,NORDUnet/opennsa,jeroenh/OpenNSA,jeroenh/OpenNSA