Added json parse to frontend