Add item meta to REST API orders response

This fixes #5423 and introduces a new method to `WC_Order_Item_Meta` to make it easier for plugins/core to get formatted item meta in an array.