Made a start on the coding. Assuming a format of the mobile JSON config. Other than the unknown of how the certificate pinning information will be represented in the JSON config most of the work has been completed.