add id to device json fixes #5