parseModel method (temporary) and removed function prototype callwithcopy in favor of using hash merge.