Sorted out JSON submission to not include "extra" data.