add write_gcm plugin

If we're using yajl already, can't we use it to build up this json instead of having it done by hand?