add tests for #1413, also fix jsonwp misinterpretation

logTypes should return array of types, not array of objects
cc @ecomrobotics