Fix regression causing all taxonomies to be returned for all types

While the taxonomies routes are now type-independent, the post type
routes (e.g. /posts/types/post) return embedded taxonomy objects for
each taxonomy associated with that type. Removing the "types" argument
from the get_taxonomies method caused a regression where ALL
taxonomies would be returned for any post type endpoint.