Prevent IllegalAccessExceptions by avoiding transient fields in serialization of parameters

This fixes issue #18