omit empty strings when serializing

if `allow('')` is set we should strip any attributes that contain an empty string since DynamoDB does not allow empty strings to be saved.