allows hasMany to set association with json object, rather than just id, in order to standardize how json is built for all adapters