Fix NB API examples

Change-Id: I84acfccf3914642b2a16510f65fc75290ce8784a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>