API module now forces pool and host IDs to be strings, fixes #6