[cleanup] beginning giant refactor
filling in schema tests
passing specs for refactor
nested queries from archetype responses
filling in pending tests