test Mojo::JSON decoding with duplicate keys