Fixes #149: response always returns array of results

- response checks if data is an array, if not wraps in an ArrayNode
- unit tests fixed
- mediator updated to pass JsonNodeFactory
- response.json updated to s/response/processed/ and reflects what is in code no