alias id to @id and type to @type, add hasType function to ensure foaf:People type is present, compact json-ld using context on return, attempt to fix status codes but middleware not working.
test dir should not include .js files