Added better matching of tag attributes to include hypens and
new-lines as optional end values, per Jade spec. Also improved
JSON formatting to be highly consistent with sorted keys and
strict rules.