updated interface to extend interfaces for converting, reading and
writing entities to crate document