Fix ID being stringified and then jsonified