Added devices.

With an edn encoding as well to reduce json calls.