install jms/serializer-bundle and friendsofsymfony/rest-bundle