Fixed JSON deserialization bug.