Adapt to work with remote php generated gson