Changed attachments to be byte array's for simpler serialization with Jackson