prelim json serializing