added basic xsd saving for schema and payload