Add JSON float and double write handlers.