JsonParser and Signer classes refactored