parsing data from hashmap to char array in in shared memory (pcontext)