Make item-item build contexts serializable