heavy changes to read output from latest version of Profiles JSON-LD