Replace simple parse method by recursive in legacy

The query method for legacy repositories did not use the recursive
version of the JSON parse method. Eventually, this lead to an exception
with dados.gov.br.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>