Configure frontend for json response