Hello,
This can be done using Owlready2 for loading and accessing an OWL ontology and the json Python module for writing a json file.
However, you still have to translate the OWL construct in JSON -- I'm not aware of a standard way for representing ontologies in JSON.
Kind regards,
Jean-Baptiste Lamy
MCF, LIMICS, Université Paris 13