Fix #207: using com.google.gson types in typed custom API calls

When invoking typed APIs, if the body is a `JsonElement` / `JsonObject` / `JsonArray` / `JsonPrimitive` / `JsonNull` then use the value "as-is" instead of trying to serialize it.