Added rapidjson wrapper code to make PowerPC happier

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>