fix format conversion for NimbusClient, and make timeout optional