BUG: Make AttachmentModel ignore unknown fields

I think this could fix the issue with jackson parsing.

To be reviewed by Adrian.