added expand function and constructor now creates array of JSONLDModel from model