Fixes #14 Update node attributes to strings and use use_inline_resources if it is available

Fix for #14 

Changed attribute references to strings and added a conditional use_inline_resources which appeased foodcritic.