Moved common functionality into base Snippets class
Bugfix
Allow JSON attribute values and allow snippets to be specified over multiple lines
Updated docs to reflect implementation