Publish nanopub with base uri. Uri replace code need to be fixed