return type name instead of id
use new rest api in collection controller
update tests for new api
add bazingahateoasbundle to tests
update media controller for new rest api