added custom taxonomy and controller for custom taxonomy for json api
tweaked custom taxonomy function slightly