[SPRINTFIX][#61401818] Remove drupal caching functions and update theme endpoint to handle new return type.

AllPlayers/allplayers-mainline#3336 must be merged prior to this.