std: fix json deserializing vectors and a test