bind remove to query results collection; add query results db id to json output