Changed report post to handle json data.