Closes #276, related to #259. Generating a resource with no properties will no longer throw.
Closes #276, related to #259. Generating a resource with no properties
will no longer throw.

insidewarehouse/ejs,kolonse/ejs,cnwhy/ejs,xanxiver/ejs,zensh/ejs,rpaterson/ejs,tyduptyler13/ejs,zensh/ejs,insidewarehouse/ejs,mde/ejs,jtsay362/solveforall-ejs2,TimothyGu/ejs-tj,operatino/ejs,kolonse/ejs,mmis1000/ejs-promise,cnwhy/ejs,TimothyGu/ejs-tj