Serialize w/ ids