Add field look up to return JSON version of patterns