Add JsonConverter as CDI bean and harden code.