Add to_json method.  Change pubmed date to obj not string.