Fix json and fetch