This isn't going to work because you haven't asked for these "prop." properties to be returned as part of the query result set.  In fact, you *can't* because you don't know what their names are (because the user can create any name they want).

I think you need to change this.  The query part is ok, but I think you're going to need to do a full fetch of each artifact's meta-data.