default @response_error to empty array

In the api which I am integrating with HER, if errors field is empty (api doesn't return any error fields), we want to default the errors and default metadata fields to empty array.