Added the ability to query a resource field with rest