Convert custom data types to standard glib equivalents

Fixes:  GF-4900, GF-5226 and GF-5227

Open-webOS-DCO-1.0-Signed-off-by: Roger Stringer <roger.stringer@lge.com>

Change-Id: I38ed40ad97f2cebf38b8fcf910018966a3626ed6