Please note that although this is closely related to this question, the answer there is specific to one known model property, whereas I want this to work for an