Ensure output fields conform to specs

* Promote some more fields from referenced data to "top-level"
* Add test to ensure that fields are included in flattened data
* Add lazy attributes to factories to generate test data that will
  include model level fields so that they'll be picked up in the
  output

Addresses #39