Returns a JSON representation of this entity.
@override Map<String, Object> toJson() { return { "type": _type.toString(), "debugger": _debugger }; }