* add validation of team header values w. regex * apply valid headers * refactor testcases to account for badly formatted json * refactoring to move validation code close to the validation itself * removed tes * Update pkg/api/datasources_test.go Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com> * Update pkg/api/datasources.go Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com> * review comments * review during pairing --------- Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>