Add dates attribute

/documents and /documents/:id endpoints