done: mem obj -> html obj