fixes in mon
made EncodeError take in an actual error
fuck the police, hacked go's json encoding library to do what I want