Use relationship key in toJSON