brought elro_ad protocol in line with new json handling