Attachments added to JSON renderer
Attachment and thumbnail links now included in JSON