Fix issues with Guild instantiation, add to_json methods.