Don't convert object values down to string
Add Resource control type
Use Repository to create the query if possible