Joins array headers
Validates JSON; Adds parameters' field