pub fn parse_json(input: &str) -> Result<PipelineContract>
Parse a Pipeline Contract from a JSON string.