I tried following Npgsql tutorial regarding accessing json DOM via dynamic mapping. What is suggested in the tutorial is to use JsonDocument and then use
JsonDocument