Move encoder/decoder stubs to combined serializer