Adds GUID to resource document

Fixes #1