Removes the empty arrays and objects the padding added, before a resource goes to a client.
the padded resource
the pruned resource
Removes the empty arrays and objects the padding added, before a resource goes to a client.