Enum support for api parameter added

-  Set JsonConfiguration to serialize enum as string