Remove hasField method in favour of containsKey