Add format in all routes api