Fix improper deserialization of 'value' attribute