Create nanopub from string