fetch wrapper for api calls - Nuxt