Format data in calling process