Getting API response instead of view after creating a BOM

When i create a new BOM and save it, it get redirected to mydomain.com/bom/bom_cart.php and see the data like on the image bellow. I expected a view. Does anyone know how to solve this? I’m using a totally clean installation of Dolibarr (14.03 from Github) as we want to start using it.