Addd 2 new format for JSON: shallow=avoid fetching and graph=always consider as collections the fields that starts with in_ and out_