#99 fix JSON deserialization