Optimizing REST API JSON Response

Is it possible to change, with a plugin, the output of REST API? I’m hoping to optimize the JSON response to a GET request (remove data I don’t need, mostly) for my read-only application. Is there a filter/class in Omeka that would allow me to do that?

Thank you!