Serialize wrapper types

This pull request implements support for the following wrapper types inside `lang.types` on a suggestion by @iigorr :

* [x] lang.types.ArrayList -> array
* [x] class lang.types.Boolean -> bool
* [x] class lang.types.Integer -> int
* [x] class lang.types.Long -> int
* [x] class lang.types.Short -> int
* [x] class lang.types.Byte -> int
* [x] class lang.types.Double -> double
* [x] class lang.types.Float -> double
* [x] class lang.types.Character -> string
* [x] class lang.types.String -> string