Fixes bug where a site.json() was not actually json serializable