Refactored to GuaVariable instead of simple types for values
added support for serializing params based on new guaparam types