updates now work for JSON, but not key-value, or XML
fixed bug in top-level arrays; checked to make sure containing class isn't null before calling its getDeclaredField(...) method
fixed the key-value persistence for generic types within a root class
merged; fixed conflicts