add initial parsing function for data from child process