Clean-up
Better processing of errors, giving results according to JsonRPC 2.0