as_json should return only a php array. This allows for Model::array_to_json to make use of it.