Fixed a bug where referenced GUIDs were not getting properly converted and ending up as arrays instead of strings.