Fix for #270, serializer options were being ignored