SW-1. Revert moteState's toJson() output to always output a list.

Modify web page template to select the first element for singleton data
like Asn, IdManager, etc. Was not worth the code complexity in moteState
to specify whether to output only the first element.