implemented JSON parsing for certificate builder