Added hint for return type of process()
Present result object as PHP array