Implement the getMetaDocument in the new ProcessUtil

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>