make os_stats page callback format agnostic, default to json #1892'