improve specsa with factories, database cleaner; support exporting associations in json