Fix toJSLOND conversion of Type objects

This could cause circular references when calling JSON.stringify on the
exported object.
Export array of types correctly in toJSONLD
Merge pull request #163 from chlu/master

Fix toJSLOND conversion of Type objects