properly parse response from NVS endpoint