add macros to read EDMForests