Add activity_type_id to case_type api output

How is it different from `$values = (array) $values;`