Fixed JSON'ification of the admin module