libs/web: fix endian issues in lmo conversion leading to a bad index order