Implemented the serializer for phrase card