Fix late type binding for json record reader