webstatus: add market-place stats, generate compact json and manage ordering in php