Support new beacon format in JSON api endpoint.