Returning queried data to Mypanel front-end