Export associations in JSON views