Add maximum recursion depth to read_json_value