Remove @graph from output when it is empty and the only member.

- See: https://github.com/json-ld/json-ld.org/issues/99#issuecomment-5048471