Fix default serilaizer implementation