implemented json validation against correlation API