Allow pattern matching on nested json object keys