An Object to Graph Framework