Fix open-ended params for api_json.log
This is preventing us from sending params to elasticsearch in the api_json.log for elastic search. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17419 for what we did for the production_json.log
Needed so that we can remove the workaround for https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5369
The issue to remove the workaround for this is https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5377.
Edited by John Jarvis