added variable name label to json payload
updated endpoint documentation for variables