partial json serialization