added include hierarchy option to data api