Improved CustomJsonSerializer (added returning bool on deserialization)