Basic implementation of JSON Web Signature