Fixing JSON export in instrument
Encapsulating ViewField's field better.