Sub-project fixes

Now displays sub-projects in JSON-LD
Reduced redundancy in code