add nginit parameters on jade templates and fix the json response on mix endpoint