Include information about associations in json of Contribution

What do you think about extracting this to the model? Is already used in Balanced's gems for payments and will for refunds also.