added a Serializer annotation instead of reusing Encodable