Prepare JSON passing & get all device ids

I was thinking about it, but unfortunately Android Java does not support lambdas - they are only in upcoming Java 8