add missing arrays and remove double nested arrays/hashes when calling to_hash
add spec for root element check and array in json response
elements aren't aware of their parent node, so instead, calls to to_hash need to provide whether the current element is the root node
only extend top level main object with dsl methods
Merge pull request #18 from kamui/json-hash-array

Problem with response.to_json
Merge pull request #31 from kamui/top-level-only

Only extend top level main object with the DSL