migrate create-repo HTTP POST to application/xml.  posting json does not work
fix typo in repository json struct tag