Small mock refactor
Support for sending report
Support posting json and minor json fixes