Add Serializer configuration and Behat tests for Basket APIs

This is related to ecommerce PR https://github.com/sonata-project/ecommerce/pull/197