implement restful metric summary
only load host metadata when required
allow passing options to restful
don't load metadata twice