My reasoning for having this in a separate method was that the key and lookup key might not always be a string (postgres), and this method assumes that they are. Thoughts?