Converting id fields to Strings before returning them, fixes #581