[init json] move to query builder