changed /json endpoint to provide paginated list of tagged resources.
everything is working w/ mongoDB except search filtering now.
added TODO.