When going through this section of setup:
at first i uploaded metadata as “pretty printed” json, since it was making it easier to read it as raw json file too.
unfortunately it looks like at the very least the cleocli accounts:get-metadata call is unable to fetch and parse mutliline json from internet properly. I am not sure if this is an intended feature or a bug, but it does mean that all metadata files have to be uploaded as a single line string for it to work properly.
these are the revisions of the metadata gist: https://gist.github.com/zviadm/1bab7c8be439a6b98190a695cedf117d/revisions