Allowing dynamic queries for relationship values in .createItems()