Goal
Remove indentation from response body for all services to decrease its size.
Background
At this moment we are using MarshalIndent function to map the response body. This function is beautifying the response including some characters (new line and spaces) to make that response "human-readable". That increases the output size a lot (around 66% for some cases in geo). Because we don't really need at all this indentation, we can replace that function to use Marshal that maps the response body in a minified way (no indentation). Same response and less size.
Tasks
Remove indentation from the response body (replacing the MarshalIndent function by Marshal in the handler layer and healthz endpoint) for the following services:
- media-analytics (merged)
- page-analytics (merged)
- edit-analytics (merged)
- editor-analytics (merged)
- geo-analytics (to be done post AQS 2.0 launch according to T342018: compile list of known issues for triage post AQS 2.0 launch)
- device-analytics (to be done post AQS 2.0 launch according to T342018: compile list of known issues for triage post AQS 2.0 launch)