fixed some bugs with reporter / formatter outputs. Added specs for Emulation#as_json