map.put(Object.class, new ObjectJsonSerializer());
map.put(Map.class, new MapJsonSerializer());
map.put(Iterable.class, new IterableJsonSerializer());
// arrays
map.put(int[].class, new IntArrayJsonSerializer());
map.put(long[].class, new LongArrayJsonSerializer());
map.put(double[].class, new DoubleArrayJsonSerializer());
map.put(float[].class, new FloatArrayJsonSerializer());
map.put(boolean[].class, new BooleanArrayJsonSerializer());
map.put(byte[].class, new ByteArrayJsonSerializer());