serve json with human readable format