add new method createProps for createEntity; move expand from AnalysisService to Helpers