starting to fix performance bottleneck
added a separate type of json output from database to rest
the new batch fetching mostly working, need to iron out some kinks before using
things seems to be working
removed stupid await
dist