update for issue #22 and change 'attribute' to 'property' in text.

handles issue #22 (default could be either the JSON or XML variant) and changes all refs to 'attribute' (very XML-ish) to 'property' (more JSON-esque).