Replace Doc with a better JsonDoc implementation
CRUD API work