Tweaked JSON format's parse_collection method to cast parsed JSON to an array if it isn't already when not using a selector.
Added support for extra headers that may be specified in the adapter's configuration for use by the REST client.