Better method generics.
JsonValue gets bloated but covers all primitive types and can create arrays.

Hated to do it, but I needed it. Creating arrays is more efficient and relatively common. Fixed up a few places in libgdx using JsonValue.
Merge branch 'origin/master'