Prepare JSON passing & get all device ids

FTR: It doesn't have to be exactly ```"value0"```, ```"value0"``` is just Cereal's default when serializing object into the stream.