Tweak metadata edit forms

Get json representation of resources to display details on edit page
Use shorter tokens for artefacts