added tables handler to get a json of all loaded tables