Set defaults on the json generation