Fixed transaction sync error if there is an empty transaction JSON element