added converter for converting SQLResponse payload to CrateDocument.
added test cases