Update web part to return data in correct json format