Added serialization of TriG prefix declarations.