The use of "value.getClass.isInstanceOf[]" to determine the class of
the object to be serialized is incorrect.  It should just be
"value.isInstanceOf[]"
ObjectInputStream.readObject calls Class.forName, which is incompatible
with the dynamic classloader used by Play! in development mode.
Use ClassLoaderObjectInputStream from Apache Commons IO to pass the
Play! classloader to avoid an exception during deserialization.