Fixed json encoder problem with nested fields not properly ignored.