Add MarshalJSON to appropriate box types