Revert "Issue #3298355 by abhisekmazumdar: Create custom json:api endpoint to list configured languages"
This reverts commit f0eba8dd.
Closes #3372186