fix handling of empty content
use serializer 1.0.*
composer mess :(