device resource xml and json formatting and testing; additional observation testing