Added json functions for team