adds needed stuff to metadata.json