Tweak metadata edit pages:
get json representation of resource to display details on edit page
Use shorter tokens for artefacts