add query object containing the url query as json
add filename for include support