Changed RESTRepository default metadata format from hal+json to json. Adjusted demo script to match.