detect attachments payloads in _attachments (nice for loading json dumps)