updated javadoc to match changes to deserialization of enums