JavaScript tiered broker selector

I think this needs @JsonCreator