fix json deserialization for unknown objects