parses JSON from express, renders it