make json as default if none