implement readFrontendData method to get a python dictionary containing data