Fixed: adaptor now takes care of the correct initialisation of an es document