added archive section and new json endpoint. mongo queries suck