if a literal is in subject position you can still serialise it by the following transformation.

{ ?lit ?rel ?obj } => { [] owl:sameAs ?lit; ?rel ?obj . }