format_metarvm_output function

Format MetaRVM simulation output