This function uses JSON parsing and validation to ensure the Payload is compliant
Two checks are made here: 1) is it a valid JSON format? and 2) does it conform to the FaaSr JSON schema?
If both checks pass, return a list with all the parsed key/value pairs
Otherwise, abort
Usage
faasr_parse(faasr_payload)
Value
faasr list with parsed and validated Payload
Arguments
faasr_payload
JSON Payload provided upon Action invocation by the FaaS platform