fix dto.entries repetition errors by improving the api for access to internal fields

not as clean as it could be, but quick and safe, as this is needed in production systems